package com.example.test_demo.entity;

import lombok.Getter;
import lombok.Setter;
import org.springframework.stereotype.Component;

@Component
public class Stu {
    @Setter @Getter
    private String username="liujinyuan";
    @Setter @Getter
    private double java;
    @Override public String toString(){
        return username+" "+java;
    }
}
